package com.guldan.core.dic;

/**
 * Created by Silas.
 * Date: 2017/1/2
 * Time: 12:56
 */
public class DicUtils {

    public static int getPayCycle(String code) {
        int maxNum = 0;
        switch (code) {
            case "233":
                maxNum = 20;   //按月发放，从12改到20
                break;
            case "234":
                maxNum = 4;
                break;
            case "235":
                maxNum = 2;
                break;
            case "236":
                maxNum = 1;
                break;
            default:
                break;
        }
        return maxNum;
    }
}
